package com.nulldev.util.web.YouTubeExtractor.subtitles;

public class YouTubeCaptions {
	private final String url;
	private final String text;
	private final String langCode;

	public YouTubeCaptions(final String url, final String text, final String langCode) {
		this.url = url;
		this.text = text;
		this.langCode = langCode;
	}

	public String url() {
		return this.url;
	}

	public String getURL() {
		return this.url;
	}

	public String text() {
		return this.text;
	}

	public String getText() {
		return this.text;
	}

	public String langCode() {
		return this.langCode;
	}

	public String getLanguageCode() {
		return this.langCode;
	}
}
